home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
CUJ9209.ARJ
/
1009025A
< prev
next >
Wrap
Text File
|
1992-07-08
|
532b
|
38 lines
// LISTING 5
#include <stdlib.h>
#include "ExH.h"
// Static members instantiation
PFV ExH::terminate = abort;
PFV ExH::unexpected = ExH::terminate;
char ExH::safeSpace[ExH::BUFSIZE];
Exception* ExH::lastEx = (Exception*)ExH::safeSpace;
JmpStack ExH::stk;
void terminate()
{
(ExH::terminate)();
}
void unexpected()
{
(ExH::unexpected)();
}
PFV set_terminate(PFV t)
{
PFV ret = ExH::terminate;
ExH::terminate = t;
return ret;
}
PFV set_unexpected(PFV t)
{
PFV ret = ExH::unexpected;
ExH::unexpected = t;
return ret;
}